package com.sm.healthy.event;

/**
 * 描述 :  EventBus 事件通信类
 */

public class SerialPortDataMsgEvent {

    public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }

    private byte[] data;

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    private int size;

    private String action;

    public SerialPortDataMsgEvent(String action, byte[] data , int size) {
        this.action = action;
        this.data = data;
        this.size = size;
    }


    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }
}
